EXTEND: Now customize your program! Be sure to meet these minimum technical requirements:

  1. Create a function above main() called make_milkshake(). Use to design a milkshake!
  2. Locate the first choice·=·sprite.ask("...")¬ in main() and edit it to offer milkshakes as an option.
  3. From , add elif above the else in main() that checks if choice == "milkshake".
  4. Finally, call make_milkshake() inside the elif. Now try ordering a milkshake!

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)